#include "server.hpp"

//./server port
int main(int argc,char* argv[])
{
    if(argc!=2)
    {
        std::cout<<"Usage:\n\t./server port"<<std::endl;
        exit(1);
    }
    Ser::Server ser(atoi(argv[1]));
    ser.InitServer();
    ser.Loop();
    return 0;
}